package leecode.DFS;

public class DfsTest {
    public static void main(String[] args) {
        char[][] des = {{'1', '1', '0', '0', '0'},
                {'1', '1', '0', '0', '0'},
                {'0', '0', '1', '0', '0'},
                {'0', '0', '0', '1', '1'}};
        Solution solution = new Solution();
        int res = solution.numIsLandsSelf(des);
        System.out.println(res);
    }
}
